package org.example.rabbitmq.consumer.rate;

/**
 * 队列消费限流器
 *
 * 什么都不做，仅用于测试
 */
public class NopRateLimiter implements RateLimiter {

    public NopRateLimiter() {
    }

    @Override
    public void acquire(String queueName) {
        // do nothing
    }

    @Override
    public void release(String queueName) {
        // do nothing
    }

    @Override
    public void addQueueRateLimiter(String queueName) {
        // do nothing
    }
}